## 创建脚本：kubeadm.images.sh

#!/bin/sh
vhost="k8s-master1 k8s-master2 k8s-master3"

for h in $vhost;do
  echo "Pull image for $h -- begings"
  sudo kubeadm config images pull --config kubeadm-config.$h.yaml
done